package com.ruoyi.sl.domain;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.entity.SlLevel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学徒系数对象 sl_apprentice
 * 
 * @author admin
 * @date 2024-06-03
 */
public class SlApprentice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long apprenticeId;

    /** 学徒级别 */
    @Excel(name = "学徒级别")
    private String apprenticeLevel;

    /** 等级 */
    @Excel(name = "等级")
    private String apprenticeCode;

    /** 人工比例 */
    @Excel(name = "人工比例")
    private BigDecimal apprenticeDay;

    /** 计价 */
    @Excel(name = "计价")
    private BigDecimal apprenticePay;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer apprenticeSort;

    /** 所属模块 */
    @Excel(name = "所属模块")
    private Long moduleId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 所属职级 */
    @Excel(name = "所属职级")
    private Long levelId;

    @Excel(name = "模块名称", targetAttr = "moduleName", type = Excel.Type.EXPORT)
    private SlModule module;

    @Excel(name = "职级名称", targetAttr = "levelName", type = Excel.Type.EXPORT)
    private SlLevel level;

    public void setApprenticeId(Long apprenticeId) 
    {
        this.apprenticeId = apprenticeId;
    }

    public Long getApprenticeId() 
    {
        return apprenticeId;
    }
    public void setApprenticeLevel(String apprenticeLevel) 
    {
        this.apprenticeLevel = apprenticeLevel;
    }

    public String getApprenticeLevel() 
    {
        return apprenticeLevel;
    }
    public void setApprenticeCode(String apprenticeCode) 
    {
        this.apprenticeCode = apprenticeCode;
    }

    public String getApprenticeCode() 
    {
        return apprenticeCode;
    }
    public void setApprenticeDay(BigDecimal apprenticeDay) 
    {
        this.apprenticeDay = apprenticeDay;
    }

    public BigDecimal getApprenticeDay() 
    {
        return apprenticeDay;
    }
    public void setApprenticePay(BigDecimal apprenticePay) 
    {
        this.apprenticePay = apprenticePay;
    }

    public BigDecimal getApprenticePay() 
    {
        return apprenticePay;
    }
    public void setApprenticeSort(Integer apprenticeSort) 
    {
        this.apprenticeSort = apprenticeSort;
    }

    public Integer getApprenticeSort() 
    {
        return apprenticeSort;
    }
    public void setModuleId(Long moduleId) 
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId() 
    {
        return moduleId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public SlModule getModule() {
        return module;
    }

    public void setModule(SlModule module) {
        this.module = module;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public SlLevel getLevel() {
        return level;
    }

    public void setLevel(SlLevel level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apprenticeId", getApprenticeId())
            .append("apprenticeLevel", getApprenticeLevel())
            .append("apprenticeCode", getApprenticeCode())
            .append("apprenticeDay", getApprenticeDay())
            .append("apprenticePay", getApprenticePay())
            .append("apprenticeSort", getApprenticeSort())
            .append("moduleId", getModuleId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("module", getModule())
            .append("levelId", getLevelId())
            .append("level", getLevel())
            .toString();
    }
}
